<template>
    <div>
        <el-tabs v-model="activeName">
            <el-tab-pane label="部门管理" name="DepartmentManager">
                <DepartmentManager/>
            </el-tab-pane>
            <el-tab-pane label="职位管理" name="PositionManager">
                <PositionManager/>
            </el-tab-pane>
            <el-tab-pane label="职称管理" name="JoblevelManager">
                <JoblevelManager/>
            </el-tab-pane>
            <el-tab-pane label="奖惩规则" name="EcManager">
                <EcManager/>
            </el-tab-pane>
            <el-tab-pane label="权限组" name="PerMissManager">
                <PerMissManager/>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
    import DepartmentManager from "../../components/sys/basic/DepartmentManager";
    import EcManager from "../../components/sys/basic/EcManager";
    import JoblevelManager from "../../components/sys/basic/JoblevelManager";
    import PerMissManager from "../../components/sys/basic/PerMissManager";
    import PositionManager from "../../components/sys/basic/PositionManager";

    export default {
        name: "SysBasic",
        data() {
            return {
                //默认激活的选项卡
                activeName: 'DepartmentManager',
            }
        },
        //组件
        components: {
            //部门管理组件
            DepartmentManager,
            //奖惩规则组件
            EcManager,
            //职称管理组件
            JoblevelManager,
            //权限组组件
            PerMissManager,
            //职位管理组件
            PositionManager
        }
    }
</script>

<style scoped>

</style>
